package com.msg.xml;

import java.util.ArrayList;

/*
 * this class wrap the data for a database access or modifying
 */
public class DBRequest {
	//the column for getting the data from tables
	//e.g. SELECT resultCol from *****
	public ArrayList<String> resultCol;
	
	//the data combined to use with result column, usually used for updating the table
	//e.g. Update ***** set resultCol = resultColData
	public ArrayList<String> resultColData;
	
	//entries and data are combined for creating a conditional query
	//e.g. SELECT * FROM *** where entries = data
	public ArrayList<String> entries;
	public ArrayList<String> data;
	
	public DBRequest() {
		resultCol = new ArrayList<String>();
		resultColData = new ArrayList<String>();
		entries = new ArrayList<String>();
		data = new ArrayList<String>();
	}
}
